<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    <div id="box">这是个人中心页面</div>

    <p></p>
</body>
<script src="../libs/jquery.js"></script>
<script>
    // 登录守卫
    let userMsg = sessionStorage.getItem("userMsg") ? JSON.parse(sessionStorage.getItem("userMsg")) : {};
    if(userMsg.user && userMsg.pass){
        $("p").html(JSON.stringify(userMsg));
    }else{
        location.href = "http://localhost:81/index.html";
    }

</script>
</html>